<template>
  <h2>vue-vite项目</h2>
  <Child />
</template>

<script>
import Child from "com/Child";

export default {
  components: {
    Child,
  },
  mounted() {
    fetch(
      "/api/mmdb/movie/v3/list/hot.json?ct=%E5%A4%A9%E6%B4%A5&ci=40&channelId=4"
    )
      .then((response) => response.json())
      .then((res) => {
        console.log(res);
      });
  },
};
</script>
